from scrapy.cmdline import execute
import sys
import os

sys.path.append(os.path.dirname(os.path.abspath(__file__)))
#相当于在此处调用命令函工具
if __name__ == '__main__':
    os.system("scrapy crawl job_grab")
